﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.StampApprove
{
    /// <summary>
    /// 评分记录的扣分项目模板
    /// </summary>
    public class StampApproveFlowEvaluationType : Entity
    {
        /// <summary>
        /// 扣分项目名称
        /// </summary>
        public virtual string ItemName { get; set; }

        /// <summary>
        /// 扣分项目数值
        /// </summary>
        public virtual decimal ItemValue { get; set; }

        /// <summary>
        /// 扣分项目描述
        /// </summary>
        public virtual string ItemDescribe { get; set; }

        /// <summary>
        /// 扣分项目是否计入质量
        /// </summary>
        public virtual int ItemInQuality { get; set; }

        /// <summary>
        /// 排序标志
        /// </summary>
        public virtual int OrderFlag { get; set; }

        /// <summary>
        /// 扣分类型的扣分项列表
        /// </summary>
        public virtual IList<StampApproveFlowEvaluationDetail> EvaluationDetails { get; set; }

        public StampApproveFlowEvaluationType()
        {
            EvaluationDetails = new List<StampApproveFlowEvaluationDetail>();
        }
    }
}
